package com.bdsy.system.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class Authorization implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
    private int authId;

    private String authParentId;

    private String authName;
    
    private String authUrl;
    
    private String authPerms;
    
    private long authType;
    
    private String authInfo;

    private int orderNum;
    
    private String icon;
    
    private Date createDate;
    
    private String parentName;
    
    public Authorization(){
    	super();
    }

	public int getAuthId() {
		return authId;
	}

	public void setAuthId(int authId) {
		this.authId = authId;
	}

	public String getAuthParentId() {
		return authParentId;
	}

	public void setAuthParentId(String authParentId) {
		this.authParentId = authParentId;
	}

	public String getAuthName() {
		return authName;
	}

	public void setAuthName(String authName) {
		this.authName = authName;
	}

	public String getAuthUrl() {
		return authUrl;
	}

	public void setAuthUrl(String authUrl) {
		this.authUrl = authUrl;
	}

	public String getAuthPerms() {
		return authPerms;
	}

	public void setAuthPerms(String authPerms) {
		this.authPerms = authPerms;
	}

	public long getAuthType() {
		return authType;
	}

	public void setAuthType(long authType) {
		this.authType = authType;
	}

	public String getAuthInfo() {
		return authInfo;
	}

	public void setAuthInfo(String authInfo) {
		this.authInfo = authInfo;
	}

	public int getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	@Override
	public boolean equals(Object obj) {
		Authorization m=(Authorization)obj;
		return authId==m.authId?true:false;
	}
}